<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
        <!-- page title -->
        <title><?php echo $title_for_layout; ?></title>

        <!-- page css -->


        <?php echo $html->css('global'); ?>
        <?php echo $html->css('site'); ?>
        <?php echo $html->css('rustic'); ?>


        <!-- Ajax framework named "Prototype" -->
        <?php echo $javascript->link(array('prototype')); ?>
        <!--  Flash helper script -->
        <?php echo $javascript->link(array('swfobject')); ?>

    </head>
    <body>
        <div id="wrapper">
            <div id="header">
                <h1>
                    <?php
                    $textLinkMetaData = array(
                        "controller" => "users",
                        "action" => "login"
                    );
                    $placeOrderTextLink = $html->link("Place order", $textLinkMetaData);
                    $imageLinkMetaData = array(
                        "alt" => $placeOrderTextLink,
                        'url' => $textLinkMetaData
                    );
                    $placeOrderImageLink = $html->image("logo.gif", $imageLinkMetaData);
                    e($placeOrderImageLink);
                    ?>

                </h1>
                <ul id="nav">

                    <li><?php
                    echo $html->link('HOME',
                            '/');
                    ?>

                        &nbsp;|&nbsp;</li>

                    <li><?php echo $html->link('RESTAURANT', array('controller' => 'pages', 'action' => 'display', 'under_construction')); ?>&nbsp;|&nbsp; </li>
                    <li><?php echo $html->link('MENUS', array('controller' => 'pages', 'action' => 'display', 'under_construction')); ?>&nbsp;|&nbsp; </li>
                    <li><?php echo $html->link('RESERVATIONS', array('controller' => 'pages', 'action' => 'display', 'under_construction')); ?>&nbsp;|&nbsp; </li>
                    <li><?php echo $html->link('EVENTS', array('controller' => 'pages', 'action' => 'display', 'under_construction')); ?>&nbsp;|&nbsp; </li>
                    <li><?php echo $html->link('CONTACT US', array('controller' => 'pages', 'action' => 'display', 'under_construction')); ?>&nbsp;|&nbsp; </li>

                    <li>

                        <?php
                        echo $html->link('LOGOUT',
                                '/users/logout');
                        ?>
                        &nbsp;|&nbsp;
                    </li>
                </ul>
                <div id="welcome">
                    <h2>
                        <?php
                        $textLinkMetaData = array(
                            "controller" => "users",
                            "action" => "login"
                        );
                        $placeOrderTextLink = $html->link("Place order", $textLinkMetaData);
                        $imageLinkMetaData = array(
                            "alt" => $placeOrderTextLink,
                            'url' => $textLinkMetaData
                        );
                        $placeOrderImageLink = $html->image("title_welcome.gif", $imageLinkMetaData);
                        // e($placeOrderImageLink);
                        ?>

                    </h2>

                    <p>
                        <?php echo $session->flash(); ?>

                        <?php
                        echo $session->flash('auth');
                        //echo $this->element('loginFailed');
                        ?>


                        <div id="main_body_container_login" align="center">
                            <?php echo $content_for_layout ?>
                        </div>

                    </p>
                </div><!-- end welcome -->
            </div><!-- end header -->
            <div id="body"><div id="body-i">
                    <h2 id="hspecials">

                        <?php
                            $textLinkMetaData = array(
                                "controller" => "users",
                                "action" => "login"
                            );
                            $placeOrderTextLink = $html->link("Our Special Menus", $textLinkMetaData);
                            $imageLinkMetaData = array(
                                "alt" => $placeOrderTextLink,
                                'url' => $textLinkMetaData
                            );
                            $placeOrderImageLink = $html->image("title_menus.gif", $imageLinkMetaData);
                            e($placeOrderImageLink);
                        ?>

                        </h2>
                        <div id="specials">
                            <div style="background-image: url(../app/webroot/img/picture_1.jpg);" class="imagebox">
                                <h3>
                                <?php
                                echo $html->link('Tuna salad', array('controller' => 'pages', 'action' => 'display', 'page2'));
                                ?>

                            </h3>
                            <p>Tuna salad is typically a blend of three main ingredients: tuna, celery or relish, and mayonnaise or mayonnaise-substitute. </p>
                            <p class="readmore"><?php echo $html->link('...more', array('controller' => 'pages', 'action' => 'display', 'page2')); ?></p>
                        </div>
                        <div style="background-image: url(../app/webroot/img/picture_2.jpg);" class="imagebox">
                            <h3><?php
                                echo $html->link('Hainanese chicken rice', array('controller' => 'pages', 'action' => 'display', 'page3'));
                                ?>
                            </h3>
                            <p>Spaghetti with Meat or Marinara Sauce. Choose size for 2 or 4. </p>
                            <p class="readmore">
                                <?php
                                echo $html->link('...more', array('controller' => 'pages', 'action' => 'display', 'page3'));
                                ?>
                            </p>
                        </div>
                        <div style="background-image: url(../app/webroot/img/picture_3.jpg);" class="imagebox">
                            <h3>
                                <?php
                                echo $html->link('Royal Shawarma', array('controller' => 'pages', 'action' => 'display', 'page4'));
                                ?>
                            </h3>
                            <p>Shawarma (Arabic: شاورما‎), is an Arab sandwich-like wrap of shaved lamb, goat, chicken, turkey, beef, or a mixture thereof. The meat is placed on a spit, and may be grilled for as long as a day.</p>
                            <p class="readmore"><?php echo $html->link('...more', array('controller' => 'pages', 'action' => 'display', 'page4')); ?></p>
                        </div>
                    </div><!-- end specials -->
                    <h2 id="hevents"><img src="../app/webroot/img/title_events.gif" alt="Special Events" /></h2>
                    <div id="events">
                        <h3><?php echo $html->link('12.10.2010', array('controller' => 'pages', 'action' => 'display', 'page5')); ?></h3>
                        <p>Engineering Technology Expo 2010</p>
                        <p class="readmore"><?php echo $html->link('...more', array('controller' => 'pages', 'action' => 'display', 'page5')); ?></p>
                        <h3><?php echo $html->link('12.25.2010', array('controller' => 'pages', 'action' => 'display', 'page6')); ?></h3>
                        <p>Merry Christmas</p>
                        <p class="readmore"><?php echo $html->link('...more', array('controller' => 'pages', 'action' => 'display', 'page6')); ?></p>
                        <h3><?php echo $html->link('12.31.2010', array('controller' => 'pages', 'action' => 'display', 'page7')); ?></h3>
                        <p>New year night special</p>
                        <p class="readmore"><?php echo $html->link('...more', array('controller' => 'pages', 'action' => 'display', 'page7')); ?></p>
                        <h3><?php echo $html->link('01.17.2010', array('controller' => 'pages', 'action' => 'display', 'page8')); ?></h3>
                        <p>Martin Luther King day special</p>
                        <p class="readmore"><?php echo $html->link('...more', array('controller' => 'pages', 'action' => 'display', 'page8')); ?></p>
                    </div>
                    <div class="clear" id="spacer"></div>
                </div></div>
            <div id="hotstuff">
                <h2><img src="../app/webroot/img/title_hot.gif" alt="Today's Hot" /></h2>
                <div style="background-image: url(../app/webroot/img/picture_4.jpg);" id="hot-one" class="imagebox">
                    <h3><?php echo $html->link('Hot Item #1: Chicken Shawarma', array('controller' => 'pages', 'action' => 'display', 'page4')); ?></h3>
                    <p>Arab sandwich-like wrap of shaved lamb, goat, chicken, turkey, beef, or a mixture thereof.</p>
                    <p class="readmore"><?php echo $html->link('...more', array('controller' => 'pages', 'action' => 'display', 'page4')); ?></p>
                </div>
                <div style="background-image: url(../app/webroot/img/picture_5.jpg);" id="hot-two" class="imagebox">
                    <h3><?php echo $html->link('Hot Item #2 Hummus', array('controller' => 'pages', 'action' => 'display', 'page13')); ?></h3>
                    <p>It is a Levantine Arab dip or spread made from cooked, mashed chickpeas, blended with tahini, olive oil, lemon juice, salt and garlic.</p>
                    <p class="readmore"><?php echo $html->link('...more', array('controller' => 'pages', 'action' => 'display', 'page13')); ?></p>
                </div>
                <div style="background-image: url(../app/webroot/img/picture_6.jpg);" id="hot-three" class="imagebox">
                    <h3><?php echo $html->link('Hot Item #2 Fish Curry', array('controller' => 'pages', 'action' => 'display', 'page15')); ?></h3>
                    <p>A spicy dish more satiating than lean beef or chicken that only contains a quarter of your daily fat allowance. </p>
                    <p class="readmore"><?php echo $html->link('...more', array('controller' => 'pages', 'action' => 'display', 'page15')); ?></p>
                </div>
                <div class="clear"></div>
            </div>
        </div>

        <div id="footer">
            Powered by <a href="http://www.lunchnet.net">I Got Lunch</a>
        </div>

        <?php
//Following statement prints the sql querries run by cakephpo.
//We dont need this statement when in production environment.
//However, it is helpful during development.
//
//echo $this->element('sql_dump');
        ?>
    </body>
</html>
